namespace :reset do
  desc "rake db:reset 这个命令只会根据schema.rb来创建数据库，而不会更新schema.rb"
  task :db do
    system "rake db:drop"
    system "rake db:create"
    system "rake db:migrate"
    system "rake db:seed"
  end
end